from collections.abc import Sized


class Company:

    def __init__(self, employee_list):
        self.employee = employee_list

    def __len__(self):
        return len(self.employee)


com = Company(["leo", "leo1", "leo2"])
print(hasattr(com, "__len__"))
print(isinstance(com, Sized))
print(len(com))